package com.du.spring.service;

import com.du.spring.pojo.User;

import java.util.List;

/**
 * @author : DuJiabao
 * @Date : 2021/2/5 10:31
 * @Project : spring
 * @File : null.java
 * @Desc :
 */
public interface UserService {
  int addUser(User user);

  int countUser();

  User selectUserById(int id);

  List<User> selectUsers();

  int deleteUserById(int id);

  int updateUser(User user);

  void batchAddUsers(List<Object[]> batchArgs);

  void batchUpdateUsers(List<Object[]> batchArgs);

  void batchDeleteUsers(List<Object[]> batchArgs);
}
